function setTab(cursel) {
    for (i = 50; i <= 56; i++) {
        if (cursel == 2) cursel = 51;
        var menu = document.getElementById("one" + i);
        var con = document.getElementById("con_one_" + i);
        menu.className = i == cursel ? "hover" : "";
        con.style.display = i == cursel ? "block" : "none";
    }
}
function go(n) {
    if (n == 56) {
        setTab(56);
        window.open("/Blog/index.aspx");
    }
    else {
        window.location = "Index_Main.aspx?appid=" + n;
    }
}



var status = 1;
function switchSysBar(){
if (1 == window.status){
window.status = 0;
document.getElementById("switchPoint").innerHTML = '<img src="/Admin/img/left.gif" alt="展开左栏" />';
document.getElementById("frmTitle").style.display="none";
}
else{
window.status = 1;
document.getElementById("switchPoint").innerHTML = '<img src="/Admin/img/right.gif" alt="隐藏左栏" />';
document.getElementById("frmTitle").style.display="block";
}
}